enum EntityType { PEOPLE, PLACE, ORGANIZATION };

class NameEntity {

    String name
    EntityType type;
    
}